﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WindowsFormsApplication19
{
    [Serializable]
    class Class1
    {
        private Point mold;
        private Point mcur;
        private int mshape;
        private float mwidth;
        private Color mcolor;
        public Class1()
        {
            mold = new Point(0, 0);
            mcur = new Point(0, 0);
            mshape = 0;
            mwidth = 1;
            mcolor = Color.Black;
        }
        public Class1(Point old, Point cur, int shape, float width, Color color)
        {
            mold = old;
            mcur = cur;
            mshape = shape;
            mwidth = width;
            mcolor = color;
        }

        public Point old
        {
            get
            {
                return mold;
            }
            set
            {
                mold = value;
            }
        }

        public Point cur
        {
            get
            {
                return mcur;
            }
            set
            {
                mcur = value;
            }
        }

        public int shape
        {
            get
            {
                return mshape;
            }
            set
            {
                mshape = value;
            }
        }

        public float width
        {
            get
            {
                return mwidth;
            }
            set
            {
                mwidth = value;
            }
        }

        public Color color
        {
            get
            {
                return mcolor;
            }
            set
            {
                mcolor = value;
            }
        }
    }
}
